﻿// Open Source: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Project: YoProgramo.NET (http://code.google.com/p/yoprogramo/)
// Autor: Fabian Figueredo (info@fabianfigueredo.com.ar)
// Blog: blog.yoprogramo.net

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Validator.Engine;
using YoProgramo.Domain.Core.Entities;
using YoProgramo.Domain.Core.Interfaces;

namespace YoProgramo.Domain.BusinessLogic.Service
{
    public interface ICommentService {
        InvalidValue[] Create(Comment comment);
        bool Update(Comment comment);
        void Delete(Comment comment);
        IList<IComment> GetByStory(IStory story);
        IList<IComment> GetByUser(IUser user);
        IList<Comment> GetCleanComments(IList<Comment> comments);
    }
}